package org.stdoutremover;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Logger;

public class HelloWorld {

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		System.out.println("Hello World");
		
		System.out.println("Hello World2 " + 2);
		
		System.out.println("Hello World2.1 " + 2 + "abc");
		
		String abc = "test";
//		System.out.println("Hello World3 " + abc);
		
		System.out.println("Hello World3 " + abc + 2 + " " + 6);

		final Object obj = new Object();
		System.out.println("Hello World4 " + abc + 2 + " " + 6 + obj);
		
		System.out.println("Hello World5 " + new Object());
		
		Logger logger = Logger.getLogger(HelloWorld.class.getName());
		long a = 0;
		for(int i = 0; i < 10; i++)
		{
			a++;
			System.out.println("-> " + i);
			System.out.println();
		}
		logger.info("a: " + a);
		
		System.out.println("Hello World6 " + getHello());
		sayHello();
		sayHello(9);
	}
	
	public static void sayHello()
	{
		System.out.println("Hello World7");
	}

	public static void sayHello(int num)
	{
		System.out.println("Hello World " + num);
	}	
	
	public static String getHello()
	{
		return "Hello";
	}
}
